<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login</title>
<link rel="StyleSheet" href="Css/estilo.css" type="text/css">
<link href="Css/slideshowdos.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript" src="JavaScript/jquery.js"></script>
<script type="text/javascript" language="javascript" src="JavaScript/slideshow.js"></script>
</head>
    <body>
        <div class="pagina">
            <div class="tamano">
            <header id="bannerprincipal"></header>
                  <div id="slideshow" >
                    <div class="img" id="img-0" style="z-index:0;">
                        <img src="images/img01.jpg" width="560" height="360" />
                    </div>
                    <div class="img" id="img-1" style="z-index:10;">
                        <img src="images/img02.jpg" width="560" height="360" />
                    </div>
                    <div class="img" id="img-2" style="z-index:20;">
                        <img src="images/img03.jpg" width="560" height="360" />
                    </div>
                    <div class="img" id="img-3" style="z-index:30;">
                        <img src="images/img04.jpg" width="560" height="360" />
                    </div>
                    <div id="rapidlinks-btns">
                        <div class="rapidlink-selected" id="rapidlink-0">
                            <a href="javascript:userChangeRapidLink('0');">
                                <img height="10" src="images/blank.png" width="10" />
                            </a>
                        </div>
                        <div class="rapidlink" id="rapidlink-1">
                            <a href="javascript:userChangeRapidLink('1');">
                                <img height="10" src="images/blank.png" width="10" />
                            </a>
                        </div>
                        <div class="rapidlink" id="rapidlink-2">
                            <a href="javascript:userChangeRapidLink('2');">
                                <img height="10" src="images/blank.png" width="10" />
                            </a>
                        </div> 
                        <div class="rapidlink" id="rapidlink-3">
                            <a href="javascript:userChangeRapidLink('3');">
                                <img height="10" src="images/blank.png" width="10" />
                            </a>
                        </div>
                    </div>     
                </div>
                <div id="slideshow" class="divcentro2" >
                    <div class="img" id="img-0" style="z-index:0;">
                        <img src="images/img06.jpg" width="560" height="360"/>
                    </div>
                    <div class="img" id="img-1" style="z-index:10;">
                        <img src="images/img07.jpg" width="560" height="360" />
                    </div>
                    <div class="img" id="img-2" style="z-index:20;">
                        <img src="images/img08.jpg" width="560" height="360" />
                    </div>
                    <div class="img" id="img-3" style="z-index:30;">
                        <img src="images/img09.jpg" width="560" height="360" />
                    </div>
                    <div id="rapidlinks-btns">
                        <div class="rapidlink-selected" id="rapidlink-0">
                            <a href="javascript:userChangeRapidLink('0');">
                                <img height="10" src="images/blank.png" width="10" />
                            </a>
                        </div>
                        <div class="rapidlink" id="rapidlink-1">
                            <a href="javascript:userChangeRapidLink('1');">
                                <img height="10" src="images/blank.png" width="10" />
                            </a>
                        </div>
                        <div class="rapidlink" id="rapidlink-2">
                            <a href="javascript:userChangeRapidLink('2');">
                                <img height="10" src="images/blank.png" width="10" />
                            </a>
                        </div> 
                        <div class="rapidlink" id="rapidlink-3">
                            <a href="javascript:userChangeRapidLink('3');">
                                <img height="10" src="images/blank.png" width="10" />
                            </a>
                        </div>
                    </div>   
             	</div>
                 <table class='login'>
                    <tr>
                        <th>
                        <a><img  id="login" src="images/Folder_user.png" onclick="redireccionar()"/></a>
                          <!--input type="button" id="login" class="button" value="Iniciar sesión" onclick="redireccionar()"/--> 
                           <script>
                           		function redireccionar()
								{
									location.href="indexlogin.php";
								}
                           </script>
                        </th>
                    </tr>
                    <tr><th><label class="sublegend">Iniciar Sesión</label></th></tr>
                </table>  
            </div>
             <div id="footer">
				<marquee class="div_centro"><img src="images/logo.png"/>Sistema Administrador de Gestión Documental</marquee>
			</div>
            </div>
    </body>
</html>
<?php
if(isset($_REQUEST['mensaje']))
{ 
			
	if($_REQUEST["mensaje"]==1)
	{
		echo "<script> alert('Debe Iniciar Sesión Nuevamente');</script>";
	}
	else
	{
    	echo "<script>alert('".$_REQUEST['mensaje']."');</script>";
	}
	include_once("ClasesPHP/funcionesphp.php");
	echo "<script>window.location.href='".funcionesphp::quitarParametrosURL($_REQUEST['mensaje'],"index.php")."';</script>";
}
?>
